package com.lzw.okgoutils.http;

public class BaseHttpRequest implements HttpRequest {
    String mUrl;
    RequestParams mParams;
    HttpCallback mCallback;
    Object mTag;

    public BaseHttpRequest(String url, RequestParams params, HttpCallback callback, Object tag){
        mUrl = url;
        mParams = params;
        mCallback = callback;
        mTag = tag;
    }

    @Override
    public String getRequestUrl() {
        return mUrl;
    }

    @Override
    public RequestParams getRequestParams() {
        return mParams;
    }

    @Override
    public HttpCallback getCallBack() {
        return mCallback;
    }

    @Override
    public Object getTag() {
        return mTag;
    }
}
